﻿package com.toncen.samepms.basic.domain;

import com.toncen.samepms.common.AbstractDomain;
 
/**
 * 描述：用户角色表BASIC_USER_ROLE的domain文件
 * 
 * @author tch 
 */
public class UserRole extends AbstractDomain {
	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 1331550786799L;
	
	/**
	 * 用户
	 */ 
	private  User user; 	 
    
	/**
	 * 角色
	 */ 
	private  com.toncen.samepms.system.domain.Role role; 	 
    

	public UserRole() {
		super();
	}

	/**
	 * @return the  user
	 */
	public  User getUser() {
		return  user;
	}

	/**
	 * @param  user
	 *            the  user to set
	 */
	public void setUser( User  user) {
		this. user =  user;
	}
	
	/**
	 * @return the  role
	 */
	public  com.toncen.samepms.system.domain.Role getRole() {
		return  role;
	}

	/**
	 * @param  role
	 *            the  role to set
	 */
	public void setRole( com.toncen.samepms.system.domain.Role  role) {
		this. role =  role;
	}
	
}
